/**
 * 
 */
package com.sicocre.business.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sicocre.beans.Banco;
import com.sicocre.business.dao.IBancoDao;
import com.sicocre.business.service.IBancoService;

/**
 * @author lserrano 
 */

@Service
public class BancoServiceImpl implements IBancoService {

	@Autowired
	private IBancoDao bancoDao;
	
	
	/**
	 * @param bancoDao the bancoDao to set
	 */
		public void setBancoDao(IBancoDao bancoDao) {
		this.bancoDao = bancoDao;
	}
	
		
		public boolean insertBanco(Banco banco) {
			// TODO Auto-generated method stub
			return bancoDao.insertar(banco) > 0;
		}

	
	
	


}
